package com.liugh.service.zhongche;

import com.baomidou.mybatisplus.plugins.Page;
import com.liugh.entity.standard.StandardPark;
import com.liugh.model.DownloadModel;

/**
 * Created by Fatao on 2018/11/5 .
 */
public interface IStandardParkService {


    StandardPark addPark(StandardPark standardPark);


    StandardPark updatePark(StandardPark standardPark);

    int delParkById(int id);


    StandardPark getParkById(int id);


    Page<StandardPark> getAllPark(Page<StandardPark> page);


    Page<StandardPark> getMyPark(Page<StandardPark> page, String userNo);

    /**
     * 下载附件时返回附件URL和原始文件名
     *
     * @param id
     * @return
     */
    DownloadModel getPathAndFilename(int id);
}
